{include file="Public:header" /}
<body>
<style>
    .sub .ttl{padding-left: 30px;}
</style>

<div class="wrap">
    <!--碎屑路径-->
    <div class="debris_nav">
        <ol class="breadcrumb">
            <li><a href="#">系统设置</a></li>
            <li class="active">网站设置</li>
        </ol>
    </div>
    <div class="blank"></div>
    <!--查询框-->
    <div id="serch">
        <label><input type="text" value="" class="form-control" placeholder="请输入关键词"></label>
        <label>
            <select name="" class="form-control">
                <option value="">启用</option>
                <option value="">禁用</option>
            </select>
        </label>
        <label><input type="submit" value="查询"  class="form-control"></label>
    </div>
    <div class="blank"></div>
    <!--列表内容-->
     <div class="content" id="content_list">
        <div class="add_nav">
            <ul>
                <li><a href="{:url('menu/add')}"><i class="iconfont icon-tianjia"></i><span>添加</span></a> </li>
            </ul>
        </div>
         <!-- 表格列表 -->
         <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab1">
             <thead>
                 <tr>
                     <td width="100">ID</td>
                     <td>菜单标题</td>

                     <td>导航显示</td>
                     <td>分类属性</td>
                     <td>排序</td>
                     <td width="140" align="center">时间</td>
                     <td width="150" align="center">操作</td>
                 </tr>
             </thead>
             <tbody>
                {volist name="menuAdmin" id="vo"}
                 <tr >
                     <td><input type="hidden" class="checkbox"  value="{$vo.id}"> <input name="id[]" value="{$vo.id}" class="form-control listorder" size="5"></td>
                     <td><b>{$vo.title}</b></td>

                     <td><i class="iconfont icon-iconfontcheck  {if condition='$vo.is_show eq 1'}show{else}gray{/if}" title="{$vo.is_show}"></i></td>
                     <td>{if condition="$vo.is_delete eq 1"}系统分类{/if}</td>
                     <td><input name="id[]" value="{$vo.sort}" class="form-control listorder" size="5"></td>
                     <td>{$vo.add_time|date='Y-m-d H:i:s',###}</td>
                     <td>
                         <div class="operat">
                             <label><a href="{:url('menu/edit',array('id'=>$vo['id']))}" class="bg_blue_a">编辑</a></label>
                             <label><a href="{:url('menu/delete',array('id'=>$vo['id']))}" class="bg_green_a">删除</a></label>
                         </div>
                     </td>
                 </tr>
                {notempty name="vo['child']"}
                {volist name="vo['child']" id="sub"}
                <tr class="sub">
                    <td> <input name="id[]" value="{$sub.id}" class="form-control listorder" size="5"></td>
                    <td><span class="ttl">|- {$sub.title}</span></td>

                    <td><i class="iconfont icon-iconfontcheck   {if condition='$sub.is_show eq 1'}show{else}gray{/if}" title="{$sub.is_show}"></i></td>
                    <td>{if condition='$sub.is_delete eq 1'}系统分类{/if}</td>
                    <td><input name="id[]" value="{$sub.sort}" class="form-control listorder" size="5"></td>
                    <td>{$sub.add_time|date='Y-m-d H:i:s',###}</td>
                    <td>
                        <div class="operat">
                            <label><a href="{:url('menu/edit',array('id'=>$sub['id']))}" class="bg_blue_a">编辑</a></label>
                            <label><a href="{:url('menu/delete',array('id'=>$sub['id']))}" class="bg_green_a">删除</a></label>
                        </div>
                    </td>
                </tr>
                {/volist}
                {/notempty}

                {/volist}

             </tbody>
         </table>
         <!-- 表格列表 End -->
     </div>
    <!--列表内容-->
</div>
</body>
</html>